package com.lsy.wallet.service.api;

import com.lsy.wallet.pojo.DealRunningWater;
import com.lsy.wallet.pojo.UserWallet;
import com.lsy.wallet.vo.ConsumptionVo;

import java.math.BigDecimal;

/**
 * @author lsyandwh
 * @create 2023-03-07 16:58
 */
public interface UserWalletService {

    UserWallet getWalletDetailByUserId(Long userId);

    void addAndSubtractBalance(ConsumptionVo consumptionVo);

    void refund(Long rollOutWalletId, BigDecimal refundMoney);
}
